function WriteAbaqusFile